package org.bee.enums;

import org.bee.annotation.EnumsDict;

/**
 * 任务并发枚举
 */
@EnumsDict(value = "jobConcurrent", desc = "任务并发")
public enum JobConcurrent implements IEnum{
    CONCURRENT("true","并发"),
    NON_CONCURRENT("false","非并发");
    private final String code;
    private final String desc;

    JobConcurrent(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
